import '@/assets/styles/styles.scss'
// If you want to use ElMessage, import it.
import "element-plus/theme-chalk/src/message.scss";

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import {isDark, toggleDark} from "@/composables";

if (!isDark.value) {
    toggleDark()
    console.log("Dark mode is enabled")
}

const app = createApp(App)

app.use(createPinia())
app.use(router)

app.mount('#app')
